import { ErrorOutline as ErrorOutlineIcon } from "@mui/icons-material";

export default function StatusError({ message, fullScreen }: { message?: string; fullScreen?: boolean }) {
  if (!message) return null;
  return (
    <div >
      <ErrorOutlineIcon fontSize="inherit" />
      <div className="mt-4 text-sm text-gray-500">{message || "Ooops, something went wrong"}</div>
    </div>
  );
}
